#ResourceTopology {
  #stencil {
    width: 180px;
    height: 100%;
    position: relative;
    border-right: 1px solid #dfe3e8;
    background-color: #fff;
    overflow: auto;
    .svg-content {
      .geItem {
        overflow: hidden;
        width: 34px;
        height: 32px;
        padding: 1px;
        display: inline-block;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-radius: 8px;
        svg {
          left: 1px;
          top: 1px;
          width: 32px;
          height: 30px;
          display: block;
          position: relative;
          overflow: hidden;
        }
      }
    }
    .title {
      position: relative;
      left: 0;
      box-sizing: border-box;
      width: 100%;
      height: 32px;
      padding: 0 5px 0 8px;
      color: #666;
      font-weight: 700;
      font-size: 12px;
      line-height: 32px;
      cursor: default;
      transition: all 0.3;
      background-color: #e9e9e9;
    }
    & > h1 {
      font-size: 16px;
      font-weight: 600;
      padding-left: 32px;
    }
    .widget-stencil {
      color: #333;
      .widget-stencil-title {
        padding-left: 32px;
        cursor: pointer;
        background-color: #fff;
        position: relative;
        left: 0;
        box-sizing: border-box;
        width: 100%;
        height: 32px;
        color: #666;
        font-weight: 700;
        font-size: 12px;
        line-height: 32px;

        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        user-select: none;

        &::before {
          background-image: url('');
          opacity: 0.4;
          transition: all 0.3s;
          position: absolute;
          top: 6px;
          left: 8px;
          display: block;
          width: 18px;
          height: 18px;
          margin: 0;
          padding: 0;
          background-color: transparent;
          background-repeat: no-repeat;
          background-position: 0 0;
          border: none;
          content: ' ';
        }
      }
      .widget-stencil-content {
        padding: 0 32px;
        & > div {
          height: 32px;
          line-height: 32px;
          padding: 0 5px;
          margin-bottom: 4px;
          color: #585a5a;
          &:hover {
            border-radius: 6px;
            background-color: #eff0f0;
            cursor: pointer;
          }
          &.actived {
            border-radius: 6px;
            background-color: #eff0f0;
            cursor: pointer;
          }
        }
      }
      &.collapsed {
        height: auto;
        max-height: 31px;
        overflow: hidden;

        .widget-stencil-title {
          &::before {
            background-image: url('');

            opacity: 0.4;
          }
        }
      }
    }
  }
}

#react-node {
  width: 100%;
  height: 100%;
  img {
    width: 100%;
    height: 100%;
  }
  .text {
    text-align: center;
    font-size: 14px;
  }
}


.ClusterConstruction-layout.ClusterConstruction-layout-v3 {
    position: relative;
    #stencil {
      width: 200px;
      height: 100%;
      position: relative;
      border-right: 1px solid #dfe3e8;
    }
    #graph-container {
      width: calc(100% - 200px);
      height: 100%;
    }
    .x6-graph-scroller.x6-graph-scroller-pannable {
      overflow: hidden;
    }
  
    #minmap {
      position: absolute;
      bottom: 0;
      right: 0;
      z-index: 2;
    }
    .toolZoom___2Zv_T {
      position: absolute;
      z-index: 2;
      right: 16px;
      top: 16px;
      height: 150px;
    }
    .toolBtns___3r7m4 {
      position: absolute;
      z-index: 2;
      top: 16px;
      margin-left: 224px;
      .button-icon {
        font-size: 12px;
        padding-right: 4px;
      }
    }
  }
  
  .alert-actions {
    .@{ant-prefix}-alert{
      align-items: center;
      margin-bottom: 10px;
      & > span{
        font-size: 30px;
      }
    }
    .alert-al-message{
      max-height: 150px;
      overflow: auto;
      .alert-item{
        display: flex;
        line-height: 3;
        .alert-message{
          flex: 3;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .alert-time{
          flex: 1;
          text-align: right;
        }
      }
    }
  
  }
  
  .pgbackrest_style{
    border: 1px dashed rgba(0, 0, 0, 0.45);
    border-radius: 4px;
    padding: 16px 16px 0;
  }
  .x6-widget-transform {
    margin: -1px 0 0 -1px;
    padding: 0px;
    border: 1px solid #239edd;
  }
  .x6-widget-transform > div {
    border: 1px solid #239edd;
  }
  .x6-widget-transform > div:hover {
    background-color: #3dafe4;
  }
  .x6-widget-transform-active-handle {
    background-color: #3dafe4;
  }
  .x6-widget-transform-resize {
    border-radius: 0;
  }
  .x6-widget-selection-inner {
    border: 1px solid #239edd;
  }
  .x6-widget-selection-box {
    opacity: 0;
  }

  .ClusterConstruction-layout .graph-paper {
    flex: 11;
    overflow: hidden;
    z-index: 1;
}